package com.train.classeval.mapper;

import com.train.classeval.entity.ProfessorRating;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xs
 * @since 2021-10-23
 */
public interface ProfessorRatingMapper extends BaseMapper<ProfessorRating> {

    /**
     * 算成绩
     * @param eid
     * @return
     */
    Integer score(@Param("eid") Integer eid);
}
